package cn.dida.service;

import java.util.List;
import java.util.Map;


import cn.dida.model.LgsRelate;
import cn.dida.model.Pageable;

public interface LgsService {

	/**
	 * 批次查询
	 * @param companyId
	 * @param batchNnb
	 * @param page
	 * @return
	 */
	public Pageable<Map<String,Object>> queryLgsInfoByBatch(Integer companyId, String batchNnb, Integer page);

	public List<Map<String,Object>> batchExport(Integer companyId, String batchNub);


	/**
	 * 物流查询
	 * @param companyId
	 * @param bottleNo
	 * @param boxNo
	 * @return
	 */
	public Map<String, Object> getLogistics(Integer companyId, String bottleNo, String boxNo);

	/**
	 * 根据箱码获取瓶码
	 */
	public List<LgsRelate> getBottleByBox(String bQrcodeId,Integer companyId);

	/**
	 * 根据托盘码获取箱码
	 * @param trayQrcode
	 * @param companyId
	 * @return
	 */
	public List<LgsRelate> getBoxByTray(String trayQrcode,Integer companyId);

	/**
	 * 关联管理 瓶箱关联
	 * @param cTimeS 操作开始时间
	 * @param cTimeE 操作结束时间
	 * @param depot 操作地点id
	 * @param cAdmin 操作人id
	 * @param page
	 * @return
	 */
	public Pageable<LgsRelate> getRelateBox(Integer companyId,String cTimeS, String cTimeE, Integer depot, String cAdmin,Integer page);

	/**
	 * 关联管理  托盘关联
	 * @param companyId
	 * @param cTimeS
	 * @param cTimeE
	 * @param depot
	 * @param cAdmin
	 * @param page
	 * @return
	 */
	public Pageable<LgsRelate> getRelateTray(Integer companyId,String cTimeS, String cTimeE, Integer depot, String cAdmin,Integer page);

	public List<LgsRelate> relateBoxExport(Integer companyId,String cTimeS, String cTimeE, Integer depot, String cAdmin);

	public List<LgsRelate> relateTrayExport(Integer companyId,String cTimeS, String cTimeE, Integer depot, String cAdmin);



}
